#!/usr/bin/node

const log  = console.log,
      argv = process.argv;

if(argv.length !==3){
  log('cmd exit-code');
  process.exit(1);
}

const arr = argv[2].split('');

if(isNaN(Number(arr[0])) || isNaN(Number(arr[2]))){
  log('argv must be number');
  process.exit(2);
}
if(argv[2] == '--help' || argv[2] == '-h'){
  log('argv must be number');
  process.exit(3);
}
log(`${eval(argv[2].slice(0,3))}`);
